package com.library.bean;

/**
 * @Author:qjc
 * @Date: 2024/9/14 17:17
 * @Description:
 */
public class User {
     private int userId;
     private String userName;
     private String password;
     private String realName;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                '}';
    }

    public User(String userName, String password, String realName) {
        this.userName = userName;
        this.password = password;
        this.realName = realName;
    }

    public User(int userId, String userName, String password, String realName) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.realName = realName;
    }
    public User(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }

    public User() {

    }

}
